package org.hs.phd.common.improc.traversal;

import java.awt.Polygon;
import java.awt.Rectangle;

public final class PixelTraversalKit {

	private PixelTraversalKit(){}
	
	public static RGBImagePixelTraverser createRGBRectangularTraverser(Rectangle rectangle){
		return new RGBImageRectangularTraverser(rectangle);
	}

	public static RGBImagePixelTraverser createRGBPolygonalTraverser(Polygon polygon) {
		return new MaskBasedRGBImagePolygonalTraverser(polygon);
	}

}
